//
//  PersonalInfoViewController.h
//  HotWord
//
//  Created by Rainbow on 7/24/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UserHeadInfoCell.h"
#import "UserInfoCell.h"
#import "UserManager.h"
#import "DreamSchoolViewController.h"

@interface PersonalInfoViewController : UIViewController<UITableViewDelegate, UITableViewDataSource, UserHeadInfoCellDelegate,UIActionSheetDelegate,UINavigationControllerDelegate, UIImagePickerControllerDelegate, UserInfoCellDelegate, UIGestureRecognizerDelegate, UIPickerViewDelegate, UIPickerViewDataSource, DreamSchoolViewControllerDelegate>
{
    UserHeadInfoCell *_headInfoCell;
    HotWordUserUpdateType _updateType;
    UITextField *_activeField;
    UILabel *_activeLabel;
    User *_tempUser;
    
    BOOL _isEditing;
    BOOL _hasChanged;
    
    NSInteger _headSelectIndex;
}

@property (retain, nonatomic) IBOutlet UITableView *personalInfoTableView;
@property (retain, nonatomic) IBOutlet UIButton *backBtn;
@property (retain, nonatomic) IBOutlet UIButton *inboxBtn;
@property (retain, nonatomic) IBOutlet UIButton *friendBtn;
@property (retain, nonatomic) IBOutlet UIView *meHeaderView;
@property (retain, nonatomic) IBOutlet UIView *logoutFooterView;
@property (retain, nonatomic) IBOutlet UIPickerView *dataSelectPicker;
@property (retain, nonatomic) IBOutlet UIView *pickContainerView;
@property (retain, nonatomic) IBOutlet UIButton *editBtn;

- (IBAction)tapOnBackBtn:(id)sender;
- (IBAction)tapOnInboxBtn:(id)sender;
- (IBAction)tapOnFriendBtn:(id)sender;
- (IBAction)tapOnLogoutBtn:(id)sender;
- (IBAction)tapOnUpdateBtn:(id)sender;
- (IBAction)tapOnCancel:(id)sender;
- (IBAction)tapOnConfirmBtn:(id)sender;
@end
